﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.DataServiceInterface
{
    public interface IExtDSAdapter 
    {
        /// <summary>
        /// 枚举数据源信息
        /// </summary>
        /// <returns></returns>
        List<TDataSource> EnumerateSources();

        /// <summary>
        /// 获取数据源的数据
        /// </summary>
        /// <param name="dataSourceInfo"></param>
        /// <param name="dataDict"></param>
        /// <returns></returns>
        DataTable GetData(DataSourceInfo dataSourceInfo, Dictionary<string, object> dataDict);
    }
}
